Predefined preprocessor macros for Hitachi sh

Contents|Index|Previous|Next
Predefined preprocessor macros for Hitachi SH

GCC defines the following preprocessor macros for the Hitachi SH configurations.

- Any Hitachi SH architecture:

    __sh__

- Any Hitachi SH1 architecture:

    __sh1__

- Any Hitachi SH2 architecture:

    __sh2__

- Any Hitachi SH3 architecture:

    __sh3__

- Any Hitachi SH3E architecture:

    __SH3E__

- Hitachi SH architecture with little-endian numeric representation:

    __LITTLE_ENDIAN__

Big-endian numeric representation is the default in Hitachi SH architecture.

Top|Contents|Index|Previous|Next